import 'package:auto_route/auto_route.dart';
import 'package:sonora/domain/lib/navigation/sj_app_route_info.dart';

abstract class SjBaseRouteInfoMapper {
  PageRouteInfo map(SjAppRouteInfo appRouteInfo);

  List<PageRouteInfo> mapList(List<SjAppRouteInfo> listAppRouteInfo) {
    return listAppRouteInfo.map(map).toList(growable: false);
  }
}
